package com.jsb.laundry.service;

import com.jsb.laundry.model.entity.JsbPostCommentsLikes;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author ching
* @description 针对表【jsb_post_comments_likes(用户对帖子评论点赞的关系表)】的数据库操作Service
* @createDate 2023-08-15 11:52:11
*/
public interface JsbPostCommentsLikesService extends IService<JsbPostCommentsLikes> {
    /**
     * 点赞
     *
     * @param commentId
     * @param userId
     * @return
     */
    int doPostCommentLike(Integer commentId, String userId);

    /**
     * 帖子评论点赞（内部服务）
     *
     * @param commentId
     * @param userId
     * @return
     */
    int doPostCommentLikeInner(Integer commentId, String userId);
}
